package net.gyapp.markim.module.contact.vo;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import net.gyapp.markim.module.contact.adapter.ContactAdapter;

/**
 * Author:  winds
 * Data:    2018/7/17
 * Version: 1.0
 * Desc:
 */


public class ContactHeaderEntity implements MultiItemEntity {

    public String name;
    public int type;
    public String firstLetter;

    public ContactHeaderEntity(String name, String firstLetter, int type) {
        this.name = name;
        this.type = type;
        this.firstLetter = firstLetter;
    }

    public ContactHeaderEntity(String name, int type) {
        this.name = name;
        this.type = type;
    }

    @Override
    public int getItemType() {
        return ContactAdapter.TYPE_CONTACT_HEADER;
    }
}
